t i<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主界面 - Vocabuddy词友星球</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: linear-gradient(135deg, #0891b2, #7e22ce);
            height: 100vh;
            margin: 0;
            padding: 0;
            color: white;
        }
        .app-container {
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }
        .nav-bar {
            height: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .tab-bar {
            height: 80px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: fixed;
            bottom: 0;
            width: 100%;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }
        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
            transition: all 0.3s ease;
        }
        .tab-item.active {
            color: #ffffff;
        }
        .tab-icon {
            font-size: 24px;
            margin-bottom: 4px;
            position: relative;
        }
        .tab-item.active .tab-icon::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 5px;
            height: 5px;
            background-color: #ffffff;
            border-radius: 50%;
        }
        .content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            padding-bottom: 90px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .pet-status {
            position: absolute;
            top: 80px;
            right: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 10;
        }
        .pet-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: url('https://images.unsplash.com/photo-1614027164847-1b28cfe1df60?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80') center/cover;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
            position: relative;
            margin-bottom: 10px;
            border: 2px solid rgba(255, 255, 255, 0.5);
        }
        .energy-bar {
            width: 80px;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 5px;
        }
        .energy-fill {
            height: 100%;
            width: 75%;
            background: linear-gradient(90deg, #06b6d4, #3b82f6);
            border-radius: 4px;
        }
        .mood-icon {
            font-size: 20px;
            color: #fde047;
        }
        .word-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            width: 90%;
            max-width: 350px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transform: perspective(1000px) rotateX(5deg);
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
            overflow: hidden;
            transition: all 0.5s ease;
            margin-bottom: 20px;
        }
        .word-card::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, rgba(6, 182, 212, 0.2), rgba(126, 34, 206, 0.2));
            z-index: -1;
            filter: blur(20px);
        }
        .word-card::after {
            content: '';
            position: absolute;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
            top: -75px;
            right: -75px;
            opacity: 0.1;
        }
        .word-title {
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 10px;
            color: white;
        }
        .phonetic {
            color: rgba(255, 255, 255, 0.8);
            font-size: 16px;
            margin-bottom: 15px;
        }
        .meaning {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 20px;
            line-height: 1.5;
        }
        .example {
            color: rgba(255, 255, 255, 0.7);
            font-style: italic;
            padding: 10px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }
        .card-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        .action-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }
        .action-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        .progress-orbit {
            position: absolute;
            top: 70px;
            right: 10px;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 2px dashed rgba(255, 255, 255, 0.3);
            animation: rotate 20s linear infinite;
        }
        .star-point {
            position: absolute;
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }
        .star-1 { top: 10%; left: 50%; animation: twinkle 2s infinite; }
        .star-2 { top: 50%; left: 90%; animation: twinkle 3s infinite 0.5s; }
        .star-3 { top: 90%; left: 50%; animation: twinkle 2.5s infinite 1s; }
        .star-4 { top: 50%; left: 10%; animation: twinkle 3.5s infinite 1.5s; }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        @keyframes twinkle {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.5); }
        }
        
        .difficulty-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: linear-gradient(90deg, #06b6d4, #3b82f6);
            color: white;
            padding: 4px 10px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .card-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
            z-index: -1;
        }
        
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            animation: float 10s infinite linear;
        }
        
        @keyframes float {
            0% { transform: translateY(0) translateX(0); opacity: 0; }
            50% { opacity: 0.5; }
            100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
        }
        
        .daily-goal {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            background: rgba(255, 255, 255, 0.1);
            padding: 10px 20px;
            border-radius: 20px;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }
        
        .goal-icon {
            font-size: 24px;
            margin-right: 15px;
            color: #fde047;
        }
        
        .goal-text {
            font-size: 14px;
        }
        
        .goal-progress {
            margin-left: 15px;
            font-weight: bold;
            color: #fde047;
        }
    </style>
</head>
<body>
    <div class="app-container">
        <div class="nav-bar">
            <div class="logo">词友星球</div>
            <div class="user-info">
                <i class="fas fa-crown" style="color: #fde047; margin-right: 5px;"></i>
                <span>Level 7</span>
            </div>
        </div>
        
        <div class="content">
            <div class="daily-goal">
                <div class="goal-icon">
                    <i class="fas fa-fire"></i>
                </div>
                <div class="goal-text">今日学习目标</div>
                <div class="goal-progress">15/20</div>
            </div>
            
            <div class="word-card" style="background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));">
                <div class="difficulty-badge">中级</div>
                <div class="card-particles">
                    <div class="particle" style="top: 20%; left: 10%; animation-delay: 0s;"></div>
                    <div class="particle" style="top: 40%; left: 20%; animation-delay: 2s;"></div>
                    <div class="particle" style="top: 60%; left: 15%; animation-delay: 4s;"></div>
                    <div class="particle" style="top: 30%; left: 80%; animation-delay: 1s;"></div>
                    <div class="particle" style="top: 70%; left: 70%; animation-delay: 3s;"></div>
                </div>
                <div class="word-title">constellation</div>
                <div class="phonetic">/ˌkɒnstəˈleɪʃn/</div>
                <div class="meaning">a group of stars forming a pattern that is traditionally named after its apparent form or identified with a mythological figure.</div>
                <div class="example">The Big Dipper is part of the Ursa Major constellation.</div>
                <div class="card-actions">
                    <button class="action-btn"><i class="fas fa-volume-up mr-2"></i> 发音</button>
                    <button class="action-btn"><i class="fas fa-check mr-2"></i> 已掌握</button>
                    <button class="action-btn"><i class="fas fa-forward mr-2"></i> 下一个</button>
                </div>
            </div>
        </div>
        
        <div class="pet-status">
            <div class="progress-orbit">
                <div class="star-point star-1"></div>
                <div class="star-point star-2"></div>
                <div class="star-point star-3"></div>
                <div class="star-point star-4"></div>
            </div>
            <div class="pet-avatar"></div>
            <div class="energy-bar">
                <div class="energy-fill"></div>
            </div>
            <div class="mood-icon">
                <i class="fas fa-grin-stars"></i>
            </div>
        </div>
        
        <div class="tab-bar">
            <div class="tab-item active">
                <div class="tab-icon"><i class="fas fa-book"></i></div>
                <div>学习</div>
            </div>
            <div class="tab-item">
                <div class="tab-icon"><i class="fas fa-planet-ringed"></i></div>
                <div>星球</div>
            </div>
            <div class="tab-item">
                <div class="tab-icon"><i class="fas fa-users"></i></div>
                <div>社交</div>
            </div>
            <div class="tab-item">
                <div class="tab-icon"><i class="fas fa-store"></i></div>
                <div>商店</div>
            </div>
        </div>
    </div>
</body>
</html>